import request from '@/utils/request'

// 获取总体概览统计
export function getOverview() {
  return request({
    url: '/system/statistics/overview',
    method: 'get'
  })
}

// 获取题目统计
export function getTopicStatistics() {
  return request({
    url: '/system/statistics/topic',
    method: 'get'
  })
}

// 获取教师统计
export function getTeacherStatistics() {
  return request({
    url: '/system/statistics/teacher',
    method: 'get'
  })
}

// 获取学生统计
export function getStudentStatistics() {
  return request({
    url: '/system/statistics/student',
    method: 'get'
  })
}

// 获取申请统计
export function getApplicationStatistics() {
  return request({
    url: '/system/statistics/application',
    method: 'get'
  })
}

// 获取变更申请统计
export function getChangeRequestStatistics() {
  return request({
    url: '/system/statistics/changeRequest',
    method: 'get'
  })
}

// 获取时间趋势统计
export function getTimeTrendStatistics() {
  return request({
    url: '/system/statistics/timeTrend',
    method: 'get'
  })
}

// 获取完整仪表板数据
export function getDashboardData() {
  return request({
    url: '/system/statistics/dashboard',
    method: 'get'
  })
}